org.eclipse.vtp.desktop.projects.core.internals
Class GrammarFile

java.lang.Object
  extended by org.eclipse.vtp.desktop.projects.core.internals.VoiceResource
      extended by org.eclipse.vtp.desktop.projects.core.internals.MediaResource
          extended by org.eclipse.vtp.desktop.projects.core.internals.MediaFile
              extended by org.eclipse.vtp.desktop.projects.core.internals.GrammarFile
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IGrammarFile, IMediaFile, IMediaResource, ObjectListener, IVoiceToolsResource

public class GrammarFile
extends MediaFile
implements IGrammarFile

This is a concrete implementation of IGrammarFile and provides the default behavior of that interface.

Version:
2.0
Author:
Trip Gilman

Constructor Summary
GrammarFile(IMediaContainer container, org.eclipse.core.resources.IFile file)
          Creates a new GrammarFile in the given media container with the provided eclipse file resource.
 
Method Summary
 
Methods inherited from class org.eclipse.vtp.desktop.projects.core.internals.MediaFile
getUnderlyingFile, length, open
 
Methods inherited from class org.eclipse.vtp.desktop.projects.core.internals.MediaResource
delete, exists, getMediaPath, getName, getObjectId, getParent, getParentMediaContainer
 
Methods inherited from class org.eclipse.vtp.desktop.projects.core.internals.VoiceResource
addRefreshListener, deferEvents, finalize, getAdapter, getProject, processObjectEvent, refresh, removeRefreshListener, resumeEvents
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IMediaFile
length, open
 
Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IMediaResource
delete, exists, getMediaPath, getParentMediaContainer
 
Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource
addRefreshListener, deferEvents, getName, getParent, getProject, refresh, removeRefreshListener, resumeEvents
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

GrammarFile

public GrammarFile(IMediaContainer container,
                   org.eclipse.core.resources.IFile file)
Creates a new GrammarFile in the given media container with the provided eclipse file resource.

Parameters:
container - The parent media container
file - The eclipse file resource this grammar file represents